package cn.herlioner.dao;

import java.util.List;

import cn.herlioner.pojo.Administrator;
import cn.herlioner.pojo.Obj_Tea;
import cn.herlioner.pojo.TSObject;
import cn.herlioner.service.PageService;

public interface Obj_TeaDAO {
	public void add(Obj_Tea ot);
	public Obj_Tea getbyid(Long id);
	public Obj_Tea getbyteanum(Long teanum);
	public Obj_Tea getbyobjnum(Long objnum);
	public void delete(Long id);
	public void update(Obj_Tea ot);
	public List<Obj_Tea> list();
	public List<Obj_Tea> listbyobjnum(Long objnum);
	public PageService listbyteanum(int teanum, int pageSize, Long teanum2);
}
